package com.blackink.service;

import com.blackink.pojo.User;
import com.blackink.tool.UpdateException;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserService {

    public User queryUserByName(String name);

    public List<User> queryUserList(String userName,String phone, String start, String end);

    public Integer[] addUser(User user,Integer roleId);

    void loginUpdate(String username, String ipAddr) throws UpdateException;
}
